<layout name="layout" />
<div class="wrap">
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:cmf_plugin_url('rwechat://admin_setting/save')}" novalidate="novalidate">
        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>appid:</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="appid" value="{$config.appid}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">secret:</label>
            <div class="col-md-6 col-sm-10">
                <input class="form-control" name="secret" value="{$config.secret}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">token:</label>
            <div class="col-md-6 col-sm-10">
                <input class="form-control" name="token" value="{$config.token}">
            </div>
        </div>
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary  js-ajax-submit">保存</button>
        </div>
    </form>
</div>